//
//  ParticularsHeadView.m
//  TravelFollowYourHeart
//
//  Created by 鲁万玺 on 2017/12/20.
//  Copyright © 2017年 Lwx. All rights reserved.
//

#import "ParticularsHeadView.h"

@interface ParticularsHeadView()
@property (weak, nonatomic) IBOutlet UIButton *seeOrClearBtn;

@end

@implementation ParticularsHeadView

- (void)awakeFromNib
{
    [super awakeFromNib];
    [self.seeOrClearBtn setTitleColor:[UIColor themeColor] forState:UIControlStateNormal];
    [self.seeOrClearBtn setTitle:@"更多详情" forState:UIControlStateNormal];
    [self.seeOrClearBtn setCornerRadius: 25.0/2];
    [self.seeOrClearBtn setBorderWidth:0.5 borderColor:[UIColor themeColor]];
    self.seeOrClearBtn.titleLabel.font = DEF_FontSize_14;
}

#pragma mark - Event
- (IBAction)fanhuiClick:(UIButton *)sender
{
    if ([self.delegate respondsToSelector:@selector(clickBackBtn)])
    {
        [self.delegate clickBackBtn];
    }
}

- (IBAction)callClick:(UIButton *)sender
{
    if ([self.delegate respondsToSelector:@selector(clickCallBtn)])
    {
        [self.delegate clickCallBtn];
    }
}

- (IBAction)seeOrClearClick:(UIButton *)sender
{
    if ([self.delegate respondsToSelector:@selector(seeOrClearBtn)])
    {
        [self.delegate clickseeOrClearBtn];
    }
}

@end
